home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldXYToPos.z / XmTextFieldXYToPos
Encoding:
Text File  |  2003-11-18  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_X_Y_T_o_P_o_s - A TextField function that accesses the
  10.       character position nearest an    x and y    position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/TextF.h>
  14.  
  15.       XmTextPosition XmTextFieldXYToPos (wwwwiiiiddddggggeeeetttt,,,, xxxx,,,,    yyyy)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.            _P_o_s_i_t_i_o_n     xxxx;
  18.            _P_o_s_i_t_i_o_n     yyyy;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_T_e_x_t_F_i_e_l_d_X_Y_T_o_P_o_s accesses the character position nearest
  22.       to the specified x and y position, relative to the upper
  23.       left corner of the TextField widget.
  24.  
  25.       wwwwiiiiddddggggeeeetttt
  26.            Specifies the TextField widget ID
  27.  
  28.       xxxx    Specifies the x position, relative to the upper left
  29.            corner of the widget.
  30.  
  31.       yyyy    Specifies the y position, relative to the upper left
  32.            corner of the widget.
  33.  
  34.       For a    complete definition of TextField and its associated
  35.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  36.  
  37.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  38.       Returns the character    position in the    text nearest the x and
  39.       y position specified.     This is an integer number of
  40.       characters from the beginning    of the buffer.    The first
  41.       character position is    0.
  42.  
  43.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  44.       _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.